<div id="content_header">
  <h3>{{ currentDayClass.DayClassLabel }} Editing</h3>
</div>
<div class="row">
  <form name="dayClassForm" role="form" ng-submit="updateDayClass()">

    <div class="form-group">
      <label for="DayClassLabel">
        Day Classification Label
      </label>
        <span class="error" ng-show="dayClassForm.DayClassLabel.$error.required">Required!</span>
      <input type="text" name="DayClassLabel" class="form-control" id="DayClassLabel" placeholder="Input field" ng-model="currentDayClass.DayClassLabel" required>
    </div>

    <div class="form-group">
      <div class="input-group" ng-repeat="day in days">
        <label>
          <input
            type="checkbox"
            name="selectedDays[]"
            ng-model="day.selected"
          > {{day.label}}
        </label>
      </div>
    </div>

    <button type="submit" class="btn btn-primary" >Submit</button>
  </form>
</div>